namespace Matrix.Configuration.Constants
{
    /// <summary>
    /// 配置项常量定义
    /// </summary>
    public static class ConfigurationItemConsts
    {
        /// <summary>
        /// 命名空间最大长度
        /// </summary>
        public const int MaxNamespaceLength = 128;

        /// <summary>
        /// 配置键最大长度
        /// </summary>
        public const int MaxKeyLength = 256;

        /// <summary>
        /// 配置值最大长度
        /// </summary>
        public const int MaxValueLength = 4000;

        /// <summary>
        /// 数据类型最大长度
        /// </summary>
        public const int MaxDataTypeLength = 64;

        /// <summary>
        /// 配置分类最大长度
        /// </summary>
        public const int MaxCategoryLength = 128;

        /// <summary>
        /// 默认数据类型
        /// </summary>
        public const string DefaultDataType = "string";

        /// <summary>
        /// 描述最大长度
        /// </summary>
        public const int MaxDescriptionLength = 512;

        /// <summary>
        /// 默认命名空间
        /// </summary>
        public const string DefaultNamespace = "Default";

        /// <summary>
        /// 全局配置命名空间
        /// </summary>
        public const string GlobalNamespace = "Global";

        /// <summary>
        /// 系统配置命名空间
        /// </summary>
        public const string SystemNamespace = "System";
    }
}